package com.test.hello.service;

import org.springframework.stereotype.Service;
import com.test.hello.dao.DemoDao;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by lcplcp on 2017/8/21.
 */
@Service
public class ServiceDemo {

    @Resource
    private DemoDao demoDao;

    public List queryDemo(){
        return demoDao.queryDemo();
    }

    public Map findAccessToken(String accessToken) {
        return demoDao.findAccessToken(accessToken);
    }

}
